package info.moxingwang.spring.why;

import info.moxingwang.spring.why.service.Service1;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SpringConfig {
    @Bean
    public Service1 service1() {
        Service1 service1 = new Service1();
        return service1;
    }

}
